package com.gthncz.hello;

import org.mybatis.spring.annotation.MapperScan;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;


@SpringBootApplication
// 需要添加扫包注解，否则会报 hello-security 下的 mapper 找不到的错误
@MapperScan("com.gthncz.hello.mapper")
public class HelloAdminApplication 
{
	private static Logger logger = LoggerFactory.getLogger(HelloAdminApplication.class);
	
    public static void main( String[] args )
    {
    	logger.info("Starting HelloAdminApplication ...");
       SpringApplication.run(HelloAdminApplication.class, args);
    }
}
